package com.ls.controller.invite;

import com.ls.service.IInviteService;
import com.ls.utils.ResultData;
import io.swagger.annotations.Api;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName InviteH5Controller
 * @Description h5邀请函
 *
 * @author pengyu
 * @since 2024-06-28
 */
@Api(value = "h5邀请函", tags = "h5邀请函")
@Slf4j
@RestController
@RequiredArgsConstructor
@RequestMapping("/inviteH5")
public class InviteH5Controller {
    private final IInviteService service;
    /**获取邀请函内容*/
    @GetMapping("getDetail")
    public ResultData getDetail(@RequestParam Long customerId) {
        return service.getDetail(customerId);
    }
}
